---
tags:
 - yearly
 - y<% tp.date.now("YYYY") %>
type: yearly
aliases: 
link: "[[<% tp.date.now("YYYY") %>]]"
created: {{date:YYYY-MM-DD}} {{time:HH:mm:ss}}
note-date: <% tp.date.now("YYYY-MM-DD") %>
---

<%*
  let title = tp.file.title 
  if (title.startsWith("Untitled")) {
    title = await tp.system.prompt("Title");
    await tp.file.rename(`${title}`);
  }
%>
# <%* tR += `${title}` %>

<< [[<%fileDate = moment((`${title}`), 'YYYY').subtract(1, 'years').format('YYYY')%>|Предыдущий год]] | [[<%fileDate = moment((`${title}`), 'YYYY').add(1, 'years').format('YYYY')%>|Следующий год]] >>

```dataview
LIST
FROM "JOURNAL/1_daily" AND (#2024 AND #yearly)
SORT file.name DESC
```
> [!NOTE] Месяцы этого года
> ```dataview
> LIST
> FROM "JOURNAL/3_monthly"
> WHERE note-date.year = this.note-date.year
> SORT file.name ASC
> ```

> [!NOTE] Незаконченные дела этого года
> ```dataview
> TASK
> FROM "JOURNAL/1_daily"
> WHERE !completed AND note-date.year = this.note-date.year
> ```

